import request from '@/common/request'

//团购链接列表
export function getList(data) {
    return request({
        url: '/apisell/apply/groupLink/getList',
        method: 'post',
        data:data
    })
}

//获取商品列表
export function getGoodsList(data) {
    return request({
        url: '/apisell/apply/groupLink/getGoodsList',
        method: 'post',
        data:data
    })
}

//创建团购链接
export function createGroupLink(data) {
    return request({
        url: '/apisell/apply/groupLink/createGroupLink',
        method: 'post',
        data:data
    })
}

//查看团购链接
export function checkGroupLink(data) {
    return request({
        url: '/apisell/apply/groupLink/checkGroupLink',
        method: 'post',
        data:data
    })
}

//查看当前团购链接
export function viewGroupLink(data) {
    return request({
        url: '/apisell/apply/groupLink/viewGroupLink',
        method: 'post',
        data:data
    })
}

//编辑团购链接
export function editeGroupLink(data) {
    return request({
        url: '/apisell/apply/groupLink/editeGroupLink',
        method: 'post',
        data:data
    })
}

//修改状态
export function editeLinkStatus(data) {
    return request({
        url: '/apisell/apply/groupLink/editeLinkStatus',
        method: 'post',
        data:data
    })
}

//获取当前登录的信息
export function getLoginInfo(data) {
    return request({
        url: '/apisell/apply/groupLink/getLoginInfo',
        method: 'post',
        data:data
    })
}
